package com.stu.day11.factory3.f2;
import com.stu.day11.factory3.CarBody;
import com.stu.day11.factory3.Seat;
import com.stu.day11.factory3.Wheel;
/**
 * 具体的汽车类（豪华车）
 * @author zy
 * @date 2025/2/3 20:19
 */
public class LuxuryCar extends Car implements Wheel, Seat, CarBody {
    @Override
    public void bodyAssemble() {
        System.out.println("豪华车体");
    }

    @Override
    public void seatAssemble() {
        System.out.println("豪华座椅");
    }

    @Override
    public void wheelAssemble() {
        System.out.println("豪华车轮");
    }
}
